<template>
  <div>
    <van-tabbar v-model="active">
      <van-tabbar-item icon="home-o" replace to="/home">首页</van-tabbar-item>
      <van-tabbar-item icon="search" replace to="order">预约</van-tabbar-item>
      <van-tabbar-item icon="friends-o" replace to='/mine'>我的</van-tabbar-item>
    </van-tabbar>
  </div>
</template>

<script>
export default {
  name: 'Tabs',
  props: {
  },
  data () {
    return {
      active: 0
    }
  },
  created () {
  },
  methods: {
    changeTab () {
      // console.log(this.active)
    }
  }
}
</script>

<style>

</style>
